# -*- coding: utf-8 -*-
import matplotlib.pyplot as plt
import numpy as np

#x = np.linspace(0.0,2.0,50)
x = np.arange(0.0,2.0,0.01)
y = np.sin(x-2)**2 * np.exp(-x*x)

plt.plot(x,y)

plt.xlabel("x label")
plt.ylabel("y label")

plt.title("(sin(x-2))^2*e^(-x^2)")
plt.show()